package my.soft.aiteacher.common.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 视频信息
 * </p>
 *
 * @author GMCX
 * @since 2025-06-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_video_information")
@Builder
public class VideoInformationDo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 关联文件Id
     */
    private Long fileId;
    /**
     * 关联用户
     */
    private Long userId;

    /**
     * 标题
     */
    private String title;

    /**
     * 视频描述
     */
    private String description;


    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 难度 0低级 1中级 2高级
     */
    private Integer difficulty;

    /**
     * 标签id
     */
    private Integer tags;

    /**
     * 是否已发布
     */
    private Integer published;
    /**
     * 视频地址
     */
    private String videoUrl;

    private Long courseId;


}
